//
//  KKVoiceView.h
//  DoMi
//
//  Created by 康凯 on 2016/12/9.
//  Copyright © 2016年 kk. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol KKRecorderEventDelegate <NSObject>

-(void)recorderTouchUp;
-(void)recorderTouchInside;
-(void)recorderTouchMove;

@end
@interface KKVoiceView : UIView
@property(nonatomic,weak)CAShapeLayer *shapeLayer;
@property (weak, nonatomic) IBOutlet UILabel *recorderTime;
@property (weak, nonatomic) IBOutlet UIButton *recorderBtn;
@property (weak, nonatomic) IBOutlet UILabel *recorderStatus;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *voiceBottom;
@property (weak, nonatomic) IBOutlet UIView *voiceBtnView;

@property (assign, nonatomic)float time;
@property(nonatomic,weak)id<KKRecorderEventDelegate> delegate;
-(void)setTime;
@end
